﻿// ***********************************************************************
// Project			: Micua
// Assembly         : Micua.Model
// Author           : iceStone
// Created          : 2013-11-23 22:01
//
// Last Modified By : iceStone
// Last Modified On : 2013-11-23 22:01
// ***********************************************************************
// <copyright file="Around.cs" company="Wedn.Net">
//     Copyright (c) Wedn.Net. All rights reserved.
// </copyright>
// <summary>相邻前后对象实体</summary>
// ***********************************************************************
namespace Micua.Model.Extension
{
    /// <summary>
    /// 相邻前后对象实体
    /// </summary>
    /// <remarks>
    ///  2013-11-23 22:01 Created By iceStone
    /// </remarks>
    /// <typeparam name="TSource">对象类型</typeparam>
    public class Around<TSource>
    {
        /// <summary>
        /// Gets or sets the previous.
        /// </summary>
        /// <value>The previous.</value>
        public TSource Previous { get; set; }
        /// <summary>
        /// Gets or sets the current.
        /// </summary>
        /// <value>The current.</value>
        public TSource Current { get; set; }
        /// <summary>
        /// Gets or sets the next.
        /// </summary>
        /// <value>The next.</value>
        public TSource Next { get; set; }
    }
}